<template>
	<view class="content">
		<view class="section" v-html="content">
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			type: 1,
			content: '',
			id: ""
		};
	},
	onLoad(option) {
		this.id = option.id

	},
	onShow() {
		this.wenzhanglist();
	},
	methods: {
		wenzhanglist() {
			let data = {
				id: this.id
			}
			this.$Request.get(this.$api.index.wenzhang, data).then(res => {
				this.content = res.data.content
				uni.setNavigationBarTitle({
					title: res.data.title
				});
			});
		},


	}
};
</script>

<style lang="scss" scoped>
.section {
	font-size: 28rpx;
	color: #333333;
	font-weight: bold;
	margin: 20rpx;
}
</style>
